package com.gec.entity;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author GOF
 * @since 2021-11-04
 */
@TableName("HP_BOOKS")
@KeySequence("SEQ_HP_BOOKS")
public class Books implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "BOOK_ID",type = IdType.INPUT)
    private Integer id;

    @TableField("BOOK_PS_ID")
    private Integer psId;

    @TableField("BOOK_PLAN_ID")
    private Integer planId;

    /**
     * 1-成功预约 2-客户取消 3-出诊取消
     */
    @TableField("BOOK_STATE")
    private Integer state;

    /**
     * 预约排号
     */
    @TableField("BOOK_ORDER")
    private Integer order;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPsId() {
        return psId;
    }

    public void setPsId(Integer psId) {
        this.psId = psId;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "Books{" +
        ", id=" + id +
        ", psId=" + psId +
        ", planId=" + planId +
        ", state=" + state +
        ", order=" + order +
        "}";
    }
}
